package com.demo.exce;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author WaveHi
 * @Date 24/7/2021 下午 5:43
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public class SwithDemo3 {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        //接收字符
        System.out.print("请输入一个字符：");
        char c1 = sc.next().charAt(0);

        //设计分支
        switch(c1){
            case 'a' :
            case 'o' :
            case 'e' :
            case 'i' :
            case 'u' :
                System.out.println("元音！");
                break;
            default :
                System.out.println("辅音！");
        }


    }

}
